 /*
 * @Descripttion:
 * @Author:xiayujia
 * @Date: 2021-07-1 10:55:27
 * @LastEditors: xiayujia
 * @LastEditTime: 2021-07-2 23:55:28
 */
 import request from '@/utils/request'
//数据信息初始化列表
export function getDataList(){
    return request({
      url:'/distribution/dataManager/getList',
      method: 'get',
    })
  }  
  
//查找关键词获得列表
export function searchDataList(officeName,startDate,endDate){
  return request({
    url:'/distribution/dataManager/search?officeName='+officeName+'&beginTime='+startDate+'&endTime='+endDate,
    method: 'get', 
    // params:query
  })
} 

//获取表格表头
export function table(officeId){
  return request({
    url:'/distribution/dataManager/table?officeId='+officeId,
    method: 'get', 
  })
} 

//获取文件
export function word(id){
  return request({
    url:'/distribution/dataManager/Word?id='+id,
    method: 'get', 
  })
} 

//获取文件列表
export function getWordList(id){
  return request({
    url:'/distribution/dataManager/getWordList?id='+id,
    method: 'get', 
  })
} 